'\" te
.\"  Copyright 1989 AT&T  Copyright (c) 1997 Sun Microsystems, Inc.  All Rights Reserved.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH LISTDGRP 8 "Jul 5, 1990"
.SH NAME
listdgrp \- lists members of a device group
.SH SYNOPSIS
.LP
.nf
\fB/usr/bin/listdgrp\fR \fIdgroup\fR...
.fi

.SH DESCRIPTION
.sp
.LP
\fBlistdgrp\fR displays the members of the device groups specified by the
\fIdgroup\fR list.
.SH EXAMPLES
.LP
\fBExample 1 \fRAn example of \fBlistdgrp\fR.
.sp
.LP
The following example lists the devices that belong to group \fBpartitions\fR:

.sp
.in +2
.nf
example% listdgrp partitions
	     root
	     swap
	     usr
.fi
.in -2
.sp

.SH EXIT STATUS
.sp
.LP
The following exit values are returned:
.sp
.ne 2
.na
\fB\fB0\fR\fR
.ad
.RS 5n
Successful completion.
.RE

.sp
.ne 2
.na
\fB\fB1\fR\fR
.ad
.RS 5n
Command was syntax incorrect, an invalid option used, or an internal error
occurred.
.RE

.sp
.ne 2
.na
\fB\fB2\fR\fR
.ad
.RS 5n
A device group table could not be opened for reading.
.RE

.sp
.ne 2
.na
\fB\fB3\fR\fR
.ad
.RS 5n
A device group \fIdgroup\fR could not be found in the device group table.
.RE

.SH FILES
.sp
.ne 2
.na
\fB\fB/etc/dgroup.tab\fR\fR
.ad
.RS 19n
Device group table.
.RE

.SH SEE ALSO
.sp
.LP
.BR attributes (7),
.BR putdgrp (8)
